$(function() {
	$("#creat-new-task-btn").click(function() {
		var index = layer.open({
			type: 1,
			title: '新建任务',
			fixed: false, //不固定
			maxmin: true,
			closeBtn: 1,
			scrollbar: false,
//			area: ['90rem', '45rem'],
			area: 'auto',
			content: $("#create-new-task-layer")
		});
		layer.full(index);
	});
});